var str="1234567890"
console.log(str.replace(/([0-9]{3})([0-9]{3})([0-9]{4})/,`($1) $2-$3`));

var str2="45454f35sa4f6asf5f344f444"
console.log(str2.match(/[0-9]{3}/g));


var  str3="15807095666"
console.log(/1\d{10}/.test(str3));